package com.test.util;

public class SessionFactoryUtil {

	public static final boolean isClose = true;

	public static void isClose(org.hibernate.classic.Session session) {
		if (isClose) {
			if (session != null) {
				session.close();
			}
		}
	}

	public static void isClose(org.hibernate.Session session) {
		if (isClose) {
			if (session != null) {
				session.close();
			}
		}
	}
}
